package com.java.goods.controller;


import com.java.common.vo.R;
import com.java.goods.service.DescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商品描述表 前端控制器
 * </p>
 *
 * @author jiangli
 * @since 2019-12-15
 */
@RestController
@RequestMapping("/goods/desc")
public class DescController {
	@Autowired
	private DescService descService;

	@RequestMapping("/getItemDesc")
	public R getItemDesc(@RequestParam("id") Long id) {
		return descService.getItemDesc(id);
	}
}

